﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


    class arrWith20ElementsX5
    {
        static void Main(string[] args)
        {
            //Declaraing the array
            int[] Arr = new int[20];

            //Introducing elements
            for (int elements = 0; elements < Arr.Length; elements++)
            {
                Console.Write("Enter element {0}: ", elements);
                Arr[elements] = Convert.ToInt32(Console.ReadLine());
            }
            //Elements x5
            for (int elements = 0; elements < Arr.Length; elements++)
            {
                Arr[elements] *= 5;
            }

            //List elemets - foreach
            Console.WriteLine("Elements foreach");
            foreach (int elements in Arr)
            {
                Console.WriteLine(elements);
            }
            //List elements with element number
            Console.WriteLine("Elements with element number:");
            for (int elements = 0; elements < Arr.Length; elements++) 
            {
                Console.WriteLine("Arr [{0}] = {1}", elements, Arr[elements]);
            }
        }
    }

